package com.woniuxy.meal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zz
 * @since 2023年06月12日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_address")
public class UserAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 地址ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 收货人
     */
    @TableField("receiveName")
    private String receiveName;

    /**
     * 收货人电话
     */
    @TableField("reveivePhone")
    private String reveivePhone;

    /**
     * 具体地址
     */
    @TableField("address")
    private String address;

    /**
     * 是否为默认地址 1默认 0非默认
     */
    @TableField("defaultArr")
    private Integer defaultArr;


}
